﻿@{
    ViewBag.Title = "Index";
    Layout = "~/Views/Shared/_Layout.cshtml";
}

<h2>Index</h2>
<div id=""></div>
@*@section Sidebar {
    @if (!HttpContext.Current.User.Identity.IsAuthenticated)
    {
        <li>@Html.ActionLink("Zarejestruj się", "Register", "Account")</li>
        <li>@Html.ActionLink("Zaloguj się", "Login", "Account")</li>
    }
    else
    {
        @:Witaj: @HttpContext.Current.User.Identity.Name! 
        <li>@Html.ActionLink("Wyloguj się", "LogOff", "Account")</li>
    }
}*@


    
